﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 易仓出库单
    /// </summary>
    /// 

    public class CeiveUseDTO
    {
        public string code { get; set; }
        public string message { get; set; }
        public string requestId { get; set; }
        public long timestamp { get; set; }
        public string version { get; set; }
        public string nonce_str { get; set; }
        public string sign_type { get; set; }
        public string sign { get; set; }
        public string biz_content { get; set; }

    }


    public class CeiveUseDTO_Data
    {
        public string total { get; set; }
        public string pi_id { get; set; }
        public int page { get; set; }
        public int page_size { get; set; }
        public List<CeiveUse> data { get; set; }
    }

    public class CeiveUse
    {
        /// <summary>
        /// 用于分页查询
        /// </summary>
        public string id { get; set; }
        public string RowId { get; set; }


        /// <summary>
        /// 出库单号
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 仓库代码
        /// </summary>
        public string warehouse_code { get; set; }
        /// <summary>
        /// 出库单状态
        /// </summary>
        public string status { get; set; }

        /// <summary>
        /// 出库类型	
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 出库总数量
        /// </summary>
        public string qty { get; set; }
        /// <summary>
        /// 接收人	
        /// </summary>
        public string receiver { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string creater { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        public string add_time { get; set; }

        /// <summary>
        /// 确认时间	
        /// </summary>
        public string confirm_time { get; set; }
        /// <summary>
        /// 审核时间	
        /// </summary>
        public string verify_time { get; set; }
        /// <summary>
        /// 出库时间	
        /// </summary>
        public string shipped_time { get; set; }
        /// <summary>
        /// 借用天数	
        /// </summary>
        public string borrow_days { get; set; }
        /// <summary>
        /// 归还状态	
        /// </summary>
        public string return_status { get; set; }

        /// <summary>
        /// 归还到期状态
        /// </summary>
        public string return_reach_status { get; set; }

        /// <summary>
        /// 财务审核状态	
        /// </summary>
        public string verify_status { get; set; }

        /// <summary>
        /// 审核备注	
        /// </summary>
        public string operator_note { get; set; }

        /// <summary>
        /// 出库备注
        /// </summary>
        public string delivery_note { get; set; }

        /// <summary>
        /// 出库单明细
        /// </summary>
        public List<outbound_detail> outbound_detail { get; set; }

        /// <summary>
        /// 出库sku代码
        /// </summary>
        public string product_barcode { get; set; }
        /// <summary>
        /// 出库sku名称
        /// </summary>
        public string product_title { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public string qty_d { get; set; }
        /// <summary>
        ///成本单价
        /// </summary>
        public string unit_price { get; set; }
        /// <summary>
        ///币种
        /// </summary>
        public string currency_code { get; set; }

    }

    public class outbound_detail
    {
        /// <summary>
        /// 出库sku代码
        /// </summary>
        public string product_barcode { get; set; }
        /// <summary>
        /// 出库sku名称
        /// </summary>
        public string product_title { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public string qty { get; set; }
        /// <summary>
        ///成本单价
        /// </summary>
        public string unit_price { get; set; }
        /// <summary>
        ///币种
        /// </summary>
        public string currency_code { get; set; }


    }
}
